/*
 * error.h
 *
 *  Created on: Jul 20, 2012
 *      Author: Eugene Parkhomenko
 */

#if! defined(__SM_ERROR_H__)
#define __SM_ERROR_H__

typedef enum EN_SM_ERR_CODE_TAG
{
    enSM_ERR_CODE_OK = 0,

    enSM_ERR_CODE_GENERIC               = (-100),
    enSM_ERR_CODE_NULL_POINTER          = (-101),
    enSM_ERR_CODE_MEMORY_ALLOC_FAILED   = (-101),
    enSM_ERR_CODE_THREAD_CREAT_FAILED   = (-102),

    enSM_ERR_CODE_INVALID_EVENT = (-1000),

} EN_SM_ERR_CODE;

#endif /* __SM_ERROR_H__ */
